package com.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gulimall.common.utils.PageUtils;
import com.gulimall.product.entity.CategoryEntity;
import com.gulimall.product.vo.CatalogV2;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author kkk
 * @email 2017809755@qq.com
 * @date 2022-05-17 21:49:10
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> queryCategoryListTree();

    void removeMenusByIds(List<Long> catIds);

    long[] queryCatelogPath(Long attrGroupId);

    List<CategoryEntity> queryCategoryParentLevel();

    Map<String, List<CatalogV2>> getCatelogV2List();

    void updateCategory(CategoryEntity category);
}

